package com.yungu.swift.socket.communication.message.base;

import java.io.Serializable;

/**
 * @author Zerrion
 */
public class Message implements Serializable {
    /**
     * 报文类型
     */
    private MessageType type;
    /**
     * 客户端标识
     */
    private String clientUuid;


    public Message() {
    }

    public Message(MessageType type, String clientUuid) {
        this.type = type;
        this.clientUuid = clientUuid;
    }


    public MessageType getType() {
        return type;
    }

    public void setType(MessageType type) {
        this.type = type;
    }

    public String getClientUuid() {
        return clientUuid;
    }

    public void setClientUuid(String clientUuid) {
        this.clientUuid = clientUuid;
    }
}

